package bean;

public class ClassB {
//    SELECT
//    t_class.pkid,
//    t_class.f_className,
//    t_class.f_leader,
//    t_class.f_tel,
//    t_class.fk_areaId
//            FROM
//    t_class

    private int pkid;
    private String f_className;
    private String f_leader;
    private String f_tel;

    private Area area;

    public Area getArea() {
        return area;
    }

    public void setArea(Area area) {
        this.area = area;
    }

    public ClassB() {
    }

    public ClassB(int pkid, String f_className, String f_leader, String f_tel) {
        this.pkid = pkid;
        this.f_className = f_className;
        this.f_leader = f_leader;
        this.f_tel =f_tel;
    }

    public ClassB(String f_className, String f_leader, String f_tel) {
        this.f_className = f_className;
        this.f_leader = f_leader;
        this.f_tel = f_tel;

    }

    public int getPkid() {
        return pkid;
    }

    public void setPkid(int pkid) {
        this.pkid = pkid;
    }

    public String getF_className() {
        return f_className;
    }

    public void setF_className(String f_className) {
        this.f_className = f_className;
    }

    public String getF_leader() {
        return f_leader;
    }

    public void setF_leader(String f_leader) {
        this.f_leader = f_leader;
    }

    public String getF_tel() {
        return f_tel;
    }

    public void setF_tel(String f_tel) {
        this.f_tel = f_tel;
    }

    @Override
    public String toString() {
        return "ClassB{" +
                "pkid=" + pkid +
                ", f_className='" + f_className + '\'' +
                ", f_leader='" + f_leader + '\'' +
                ", f_tel='" + f_tel + '\'' +
                ", area=" + area +
                '}';
    }
}


